﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.Data {
    /// <summary>
    /// 当批次产钻明细
    /// </summary>
   public class RedProductRecordDetail {
        public long Id { get; set; }
        /// <summary>
        /// 记录id
        /// </summary>
        public long RedRecordId { get; set; }
        /// <summary>
        /// 商户id
        /// </summary>
        public long MerchantId { get; set; }
        /// <summary>
        /// 马力值
        /// </summary>
        public int HorsePower { get; set; }
        /// <summary>
        /// 红钻值
        /// </summary>
        public decimal RedDrill { get; set; }
        /// <summary>
        /// 1 消费 2 日常领取 3 活动消费 4 活动获取
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 是否已领取
        /// </summary>
        public bool IsReceive { get; set; }
        /// <summary>
        /// 领取时间
        /// </summary>
        public long? ReceiveTime { get; set; }
        /// <summary>
        /// 备注 比如登录  关注微信公众号 邀请好友
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public long CreateTime { get; set; }
        /// <summary>
        /// 红钻生产时间
        /// </summary>
        public long RedProductionTime { get; set; }
        /// <summary>
        /// 乐观并发
        /// </summary>
        public byte[] RowVersion { get; set; }
    }
}
